<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        img {
            display: block;
        }
    </style>
</head>

<body>
    <img src="http://kg.zhaodashen.cn/web/images/loading1.gif" src-real="./imgs/1.jpg" alt="">
    <img src="http://kg.zhaodashen.cn/web/images/loading1.gif" src-real="./imgs/2.jpg" alt="">
    <img src="http://kg.zhaodashen.cn/web/images/loading1.gif" src-real="./imgs/3.jpg" alt="">
    <img src="http://kg.zhaodashen.cn/web/images/loading1.gif" src-real="./imgs/5.jpg" alt="">
    <img src="http://kg.zhaodashen.cn/web/images/loading1.gif" src-real="./imgs/6.jpg" alt="">
    <img src="http://kg.zhaodashen.cn/web/images/loading1.gif" src-real="./imgs/7.jpg" alt="">
    <img src="http://kg.zhaodashen.cn/web/images/loading1.gif" src-real="./imgs/8.gif" alt="">

</body>

</html>
<script src="./lazyLoad.js"></script>
<script>
    lazyLoad()
    onscroll=lazyLoad
</script>